package com.yuncool.sky.system.pojo.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Auther XIE
 * @Date 2019/11/23 16:31
 * @Description TODO
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SubjectBO implements Serializable {
    private static final long serialVersionUID = 7885745308812225856L;
    private Integer id;
    private String cid;
    private String imgUrl;
    private String title;
    private String content;
    private String teacher;
    private String sold;
    private String sum;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    private Double progress;
}
